package com.example.yogurtsystem.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ZXB
 * @version 1.0.0
 * @ClassName PageConfig
 * @Description TODO
 * @Date 2021/4/30 16:11
 */
@Configuration
public class PageConfig {
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }
}
